package dao;

import java.io.Serializable;
import java.util.Date;

public class Message implements Serializable {
	private String to;
	private String from;
	private String body;
	private boolean check = false;
	public Message(){}
	public Message(String to, String from, String body, boolean check) {
		super();
		this.to = to;
		this.from = from;
		this.body = body;
		this.check = check;
	}
	public String getTo() {
		return to;
	}
	public void setTo(String to) {
		this.to = to;
	}
	public String getFrom() {
		return from;
	}
	public void setFrom(String from) {
		this.from = from;
	}
	public String getBody() {
		return body;
	}
	public void setBody(String body) {
		this.body = body;
	}
	public boolean isCheck() {
		return check;
	}
	public void setCheck(boolean check) {
		this.check = check;
	}
	
	
}
